package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.IndsvrSsoAppUserMapRoot;
import com.ruoyi.system.domain.IndsvrSsoAppUserMap;

/**
 * 账号分配Mapper接口
 * 
 * @author indsvr
 * @date 2025-07-04
 */
public interface IndsvrSsoAppUserMapRootMapper 
{
    /**
     * 查询账号分配
     * 
     * @param id 账号分配主键
     * @return 账号分配
     */
    public IndsvrSsoAppUserMapRoot selectIndsvrSsoAppUserMapRootById(Long id);

    /**
     * 查询账号分配列表
     * 
     * @param indsvrSsoAppUserMapRoot 账号分配
     * @return 账号分配集合
     */
    public List<IndsvrSsoAppUserMapRoot> selectIndsvrSsoAppUserMapRootList(IndsvrSsoAppUserMapRoot indsvrSsoAppUserMapRoot);

    /**
     * 新增账号分配
     * 
     * @param indsvrSsoAppUserMapRoot 账号分配
     * @return 结果
     */
    public int insertIndsvrSsoAppUserMapRoot(IndsvrSsoAppUserMapRoot indsvrSsoAppUserMapRoot);

    /**
     * 修改账号分配
     * 
     * @param indsvrSsoAppUserMapRoot 账号分配
     * @return 结果
     */
    public int updateIndsvrSsoAppUserMapRoot(IndsvrSsoAppUserMapRoot indsvrSsoAppUserMapRoot);

    /**
     * 删除账号分配
     * 
     * @param id 账号分配主键
     * @return 结果
     */
    public int deleteIndsvrSsoAppUserMapRootById(Long id);

    /**
     * 批量删除账号分配
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIndsvrSsoAppUserMapRootByIds(Long[] ids);

    /**
     * 批量删除用户绑定
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIndsvrSsoAppUserMapByAppIds(Long[] ids);
    
    /**
     * 批量新增用户绑定
     * 
     * @param indsvrSsoAppUserMapList 用户绑定列表
     * @return 结果
     */
    public int batchIndsvrSsoAppUserMap(List<IndsvrSsoAppUserMap> indsvrSsoAppUserMapList);
    

    /**
     * 通过账号分配主键删除用户绑定信息
     * 
     * @param id 账号分配ID
     * @return 结果
     */
    public int deleteIndsvrSsoAppUserMapByAppId(Long id);

    /**
     * 查询用户绑定列表
     *
     * @param indsvrSsoAppUserMap 用户绑定
     * @return 用户绑定集合
     */
    public List<IndsvrSsoAppUserMap> selectIndsvrSsoAppUserMapListByBean(IndsvrSsoAppUserMap indsvrSsoAppUserMap);


    /**
     * 修改用户绑定
     *
     * @param indsvrSsoAppUserMap 用户绑定
     * @return 结果
     */
    public int updateIndsvrSsoAppUserMap(IndsvrSsoAppUserMap indsvrSsoAppUserMap);
}
